package com.model.dto.sys.menu;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

@Data
public class SysMenuExcel extends BaseRowModel{
    @ExcelProperty(value = {"菜单权限ID,自动递增"}, index = 0)
    private Long sysMenuId;
    @ExcelProperty(value = {"菜单名称"}, index = 1)
    private String menuName;
    @ExcelProperty(value = {"父菜单ID"}, index = 2)
    private Long parentId;
    @ExcelProperty(value = {"显示顺序"}, index = 3)
    private Integer orderNum;
    @ExcelProperty(value = {"路由地址"}, index = 4)
    private String path;
    @ExcelProperty(value = {"组件路径"}, index = 5)
    private String component;
    @ExcelProperty(value = {"0:外链,1:非外链"}, index = 6)
    private Integer isFrame;
    @ExcelProperty(value = {"0:缓存,1:不缓存"}, index = 7)
    private Integer isCache;
    @ExcelProperty(value = {"0:目录,1:菜单,2:按钮"}, index = 8)
    private Integer menuType;
    @ExcelProperty(value = {"0:显示,1:隐藏"}, index = 9)
    private Integer visible;
    @ExcelProperty(value = {"权限标识"}, index = 10)
    private String perms;
    @ExcelProperty(value = {"菜单图标"}, index = 11)
    private String icon;
}
